
const Careerhistory = {   
    namespaced: true,
    state: () => ({
      name: '',
      age: 0,
      email: ''
    }),
    mutations: {
      setUserInfo(state, payload) {
        state.name = payload.name;
        state.age = payload.age;
        state.email = payload.email;
      }
    },
    actions: {
      updateUserInfo({ commit }, userInfo) {
        commit('setUserInfo', userInfo);
      }
    }
  };



export default Careerhistory;